/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

/**
 *
 * @author Jim
 */
public interface UserDao {
    public User login(String username,String password);
    public void register(User u);
    
    public String findPassword(User u);
//    public boolean updatePassword(String userName,String oldPassword,String newPassword);
    //更新密码成功了返回true  如果false证明更新失败
}
